package com.gccloud.tgyfirst.friend.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gccloud.starter.core.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@ApiModel
@Accessors(chain = true)
@TableName("friend")
@ToString(callSuper = true)
public class FriendEntity extends SuperEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "姓名")
    private String name;

    @ApiModelProperty(notes = "年龄")
    private Integer age;

    @ApiModelProperty(notes = "性别")
    private String sex;

//    @Enumerated(EnumType.STRING)
//    @ApiModelProperty(notes = "性别枚举")
//    private Sexa sexa ;

    @ApiModelProperty(notes = "备注")
    private String note;
}
